package com.example.eightapi.controller;

import com.example.eightapi.pojo.line_num;
import com.example.eightapi.service.LinenumService;
import com.example.eightapi.util.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class LinenumController {
    @Autowired
    private LinenumService linenumService;
    @GetMapping("/queryAllline")
    public ResponseResult<List<line_num>> queryAllline (){
        List<line_num>pf =linenumService.queryAllline();
        return new ResponseResult<>("200","查询成功",pf);
    }
}
